<template>
  <view class="page">
    <div class="state_box">
      <image class="img" src="/static/processing.png" mode="widthFix"></image>
      <!-- <image class="img" src="/static/complete.png" mode="aspectFill"></image> -->
      <view class="text">待审核</view>
      <!-- <view class="text">审核中</view>
      <view class="text">已通过</view> -->
    </div>

    <view class="next_btn" @click="next">
      <view class="btn">进入首页</view>
    </view>
  </view>
</template>

<script setup>
  import { ref, computed } from 'vue';
  import { onShow, onLoad } from '@dcloudio/uni-app';

  onLoad(() => {
    console.log('onLoad');
  });

  function next() {
    uni.switchTab({
      url: '/pages/index/index',
    });
  }
</script>

<style scoped lang="scss">
  .page {
    width: 100vw;
    min-height: 100vh;
    padding: 20rpx;
    box-sizing: border-box;
    font-size: 28rpx;
    background-color: #f5f5f5;
  }

  .state_box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: translateY(100%);
  }

  .img {
    width: 140rpx;
    height: 140rpx;
    margin: 0 auto;
    margin-bottom: 20rpx;
  }

  .text {
    font-weight: 500;
    font-size: 30rpx;
    color: #a2aabc;
  }

  .next_btn {
    position: fixed;
    bottom: 80rpx;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    .btn {
      width: 537rpx;
      height: 83rpx;
      text-align: center;
      line-height: 83rpx;
      background-color: #016bec;
      color: #fff;
      font-weight: 500;
      font-size: 30rpx;
      color: #ffffff;
      border-radius: 10rpx;
    }
  }
</style>
